package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "SendInfos")
public class SendInfos {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 50)
    private String userid; // 应聘者简历ID

    @Column(nullable = false, length = 50)
    private String cardno; // 身份证ID

    @Column(nullable = false, length = 50)
    private String pid; // 招聘方案ID

    @Column(nullable = false, length = 10)
    private Integer fid; // 流程编码

    @Column(nullable = true, length = 20)
    private String nickname; // 流程别名

    @Column(nullable = true, length = 500)
    private String infos;  // 发送的消息

    @Column(nullable = true, length = 10)
    private Integer isread;  // 状态（已读、未读）

    @Column(nullable = true)
    private Date sendtime; // 发送时间

    @Column(nullable = true, length = 50)
    private String senduid; // 发送人ID

    @Column(nullable = true, length = 20)
    private String senduname; // 发送姓名

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getInfos() {
        return infos;
    }

    public void setInfos(String infos) {
        this.infos = infos;
    }

    public Integer getIsread() {
        return isread;
    }

    public void setIsread(Integer isread) {
        this.isread = isread;
    }

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public String getSenduid() {
        return senduid;
    }

    public void setSenduid(String senduid) {
        this.senduid = senduid;
    }

    public String getSenduname() {
        return senduname;
    }

    public void setSenduname(String senduname) {
        this.senduname = senduname;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }
}